#include <bits/stdc++.h>
int main(){int a,b,c;std::cin>>a>>b>>c;std::cout<<0.2*a+0.3*b+0.5*c;}


